package com.electric.qrapp.ui.base.act

import android.app.Application
import com.electric.qrapp.entity.init.X5init
import dagger.hilt.android.HiltAndroidApp

/**
 *@author created by WA03675
 *@date  2021-08-02 11:51
 *@des Application
 */
@HiltAndroidApp
class QRApp : Application() {

    companion object {
        lateinit var app: Application

    }

    override fun onCreate() {
        super.onCreate()

        initDep()
    }

    /*
     *这里只进行轻量级的初始化
     * 重量级的请使用 StartUp
     */
    private fun initDep() {
        initApplication()

    }

    private fun initApplication() {
        app = this
    }





}